pub const HITLS_PKI_SUCCESS: HITLS_X509_ERRNO = 0;
pub const HITLS_X509_ERR_TIME_EXPIRED: HITLS_X509_ERRNO = 67108865;
pub const HITLS_X509_ERR_TIME_FUTURE: HITLS_X509_ERRNO = 67108866;
pub const HITLS_X509_ERR_VFY_KU_NO_CERTSIGN: HITLS_X509_ERRNO = 67108867;
pub const HITLS_X509_ERR_VFY_KU_NO_CRLSIGN: HITLS_X509_ERRNO = 67108868;
pub const HITLS_X509_ERR_VFY_SIGNALG_NOT_MATCH: HITLS_X509_ERRNO = 67108869;
pub const HITLS_X509_ERR_INVALID_PARAM: HITLS_X509_ERRNO = 67108870;
pub const HITLS_X509_ERR_VFY_CHECK_SECBITS: HITLS_X509_ERRNO = 67108871;
pub const HITLS_X509_ERR_VFY_CERT_REVOKED: HITLS_X509_ERRNO = 67108872;
pub const HITLS_X509_ERR_VFY_GET_HASHID: HITLS_X509_ERRNO = 67108873;
pub const HITLS_X509_ERR_VFY_GET_SIGNID: HITLS_X509_ERRNO = 67108874;
pub const HITLS_X509_ERR_VFY_DUP_PUBKEY: HITLS_X509_ERRNO = 67108875;
pub const HITLS_X509_ERR_CERT_CHAIN_COUNT_IS0: HITLS_X509_ERRNO = 67108876;
pub const HITLS_X509_ERR_ISSUE_CERT_NOT_FOUND: HITLS_X509_ERRNO = 67108877;
pub const HITLS_X509_ERR_ROOT_CERT_NOT_FOUND: HITLS_X509_ERRNO = 67108878;
pub const HITLS_X509_ERR_CHAIN_DEPTH_UP_LIMIT: HITLS_X509_ERRNO = 67108879;
pub const HITLS_X509_ERR_VFY_AKI_SKI_NOT_MATCH: HITLS_X509_ERRNO = 67108880;
pub const HITLS_X509_ERR_VFY_ERR_SM2_USER_ID: HITLS_X509_ERRNO = 67108881;
pub const HITLS_X509_ERR_VFY_SKI_NOT_FOUND: HITLS_X509_ERRNO = 67108882;
pub const HITLS_X509_ERR_VFY_GET_NOTBEFORE_FAIL: HITLS_X509_ERRNO = 67108883;
pub const HITLS_X509_ERR_VFY_NOTBEFORE_IN_FUTURE: HITLS_X509_ERRNO = 67108884;
pub const HITLS_X509_ERR_VFY_GET_NOTAFTER_FAIL: HITLS_X509_ERRNO = 67108885;
pub const HITLS_X509_ERR_VFY_NOTAFTER_EXPIRED: HITLS_X509_ERRNO = 67108886;
pub const HITLS_X509_ERR_VFY_GET_THISUPDATE_FAIL: HITLS_X509_ERRNO = 67108887;
pub const HITLS_X509_ERR_VFY_THISUPDATE_IN_FUTURE: HITLS_X509_ERRNO = 67108888;
pub const HITLS_X509_ERR_VFY_GET_NEXTUPDATE_FAIL: HITLS_X509_ERRNO = 67108889;
pub const HITLS_X509_ERR_VFY_NEXTUPDATE_EXPIRED: HITLS_X509_ERRNO = 67108890;
pub const HITLS_X509_ERR_VFY_CRLSIGN_FAIL: HITLS_X509_ERRNO = 67108891;
pub const HITLS_X509_ERR_VFY_CERT_SIGN_FAIL: HITLS_X509_ERRNO = 67108892;
pub const HITLS_X509_ERR_VFY_GET_PUBKEY_SIGNID: HITLS_X509_ERRNO = 67108893;
pub const HITLS_X509_ERR_VFY_CRL_NOT_FOUND: HITLS_X509_ERRNO = 67108894;
pub const HITLS_X509_ERR_VFY_INVALID_PURPOSE: HITLS_X509_ERRNO = 67108895;
pub const HITLS_X509_ERR_VFY_INVALID_CA: HITLS_X509_ERRNO = 67108896;
pub const HITLS_X509_ERR_VFY_HOSTNAME_FAIL: HITLS_X509_ERRNO = 67108897;
pub const HITLS_X509_ERR_VFY_PATHLEN_EXCEEDED: HITLS_X509_ERRNO = 67108898;
pub const HITLS_X509_ERR_VFY_PURPOSE_UNMATCH: HITLS_X509_ERRNO = 67108899;
pub const HITLS_X509_ERR_CERT_NOT_CA: HITLS_X509_ERRNO = 67174401;
pub const HITLS_X509_ERR_CERT_EXIST: HITLS_X509_ERRNO = 67174402;
pub const HITLS_X509_ERR_CERT_START_TIME_LATER: HITLS_X509_ERRNO = 67174403;
pub const HITLS_X509_ERR_PROCESS_CRITICALEXT: HITLS_X509_ERRNO = 67174404;
pub const HITLS_X509_ERR_CERT_INVALID_DN: HITLS_X509_ERRNO = 67174405;
pub const HITLS_X509_ERR_CERT_INVALID_SERIAL_NUM: HITLS_X509_ERRNO = 67174406;
pub const HITLS_X509_ERR_CERT_INVALID_TIME: HITLS_X509_ERRNO = 67174407;
pub const HITLS_X509_ERR_CERT_INVALID_PUBKEY: HITLS_X509_ERRNO = 67174408;
pub const HITLS_X509_ERR_CERT_INACCURACY_VERSION: HITLS_X509_ERRNO = 67174409;
pub const HITLS_X509_ERR_CERT_NOT_SIGNED: HITLS_X509_ERRNO = 67174410;
pub const HITLS_X509_ERR_CERT_SIGN_ALG: HITLS_X509_ERRNO = 67174411;
pub const HITLS_X509_ERR_CERT_DUP_FAIL: HITLS_X509_ERRNO = 67174412;
pub const HITLS_X509_ERR_CERT_CN_NOT_FOUND: HITLS_X509_ERRNO = 67174413;
pub const HITLS_X509_ERR_CRL_EXIST: HITLS_X509_ERRNO = 67239937;
pub const HITLS_X509_ERR_CRL_NOT_FOUND: HITLS_X509_ERRNO = 67239938;
pub const HITLS_X509_ERR_CRL_INACCURACY_VERSION: HITLS_X509_ERRNO = 67239939;
pub const HITLS_X509_ERR_CRL_ENTRY: HITLS_X509_ERRNO = 67239940;
pub const HITLS_X509_ERR_CRL_THISUPDATE_UNEXIST: HITLS_X509_ERRNO = 67239941;
pub const HITLS_X509_ERR_CRL_NEXTUPDATE_UNEXIST: HITLS_X509_ERRNO = 67239942;
pub const HITLS_X509_ERR_CRL_REVOKELIST_UNEXIST: HITLS_X509_ERRNO = 67239943;
pub const HITLS_X509_ERR_CRL_ISSUER_EMPTY: HITLS_X509_ERRNO = 67239944;
pub const HITLS_X509_ERR_CRL_TIME_INVALID: HITLS_X509_ERRNO = 67239945;
pub const HITLS_X509_ERR_CRL_NOT_SIGNED: HITLS_X509_ERRNO = 67239946;
pub const HITLS_X509_ERR_FORMAT_UNSUPPORT: HITLS_X509_ERRNO = 67305473;
pub const HITLS_X509_ERR_ALG_OID: HITLS_X509_ERRNO = 67305474;
pub const HITLS_X509_ERR_NAME_OID: HITLS_X509_ERRNO = 67305475;
pub const HITLS_X509_ERR_PARSE_STR: HITLS_X509_ERRNO = 67305476;
pub const HITLS_X509_ERR_CHECK_TAG: HITLS_X509_ERRNO = 67305477;
pub const HITLS_X509_ERR_GET_ANY_TAG: HITLS_X509_ERRNO = 67305478;
pub const HITLS_X509_ERR_PARSE_NO_ELEMENT: HITLS_X509_ERRNO = 67305479;
pub const HITLS_X509_ERR_PARSE_NO_ENOUGH: HITLS_X509_ERRNO = 67305480;
pub const HITLS_X509_ERR_HASHID: HITLS_X509_ERRNO = 67305481;
pub const HITLS_X509_ERR_SET_DNNAME_UNKNOWN: HITLS_X509_ERRNO = 67305482;
pub const HITLS_X509_ERR_SET_DNNAME_TOOMUCH: HITLS_X509_ERRNO = 67305483;
pub const HITLS_X509_ERR_SET_DNNAME_INVALID_LEN: HITLS_X509_ERRNO = 67305484;
pub const HITLS_X509_ERR_SET_KEY: HITLS_X509_ERRNO = 67305485;
pub const HITLS_X509_ERR_SIGN_PARAM: HITLS_X509_ERRNO = 67305486;
pub const HITLS_X509_ERR_MD_NOT_MATCH: HITLS_X509_ERRNO = 67305487;
pub const HITLS_X509_ERR_MGF_NOT_MATCH: HITLS_X509_ERRNO = 67305488;
pub const HITLS_X509_ERR_PSS_SALTLEN: HITLS_X509_ERRNO = 67305489;
pub const HITLS_X509_ERR_ENCODE_SIGNID: HITLS_X509_ERRNO = 67305490;
pub const HITLS_X509_ERR_PARSE_OBJ_ID: HITLS_X509_ERRNO = 67305491;
pub const HITLS_X509_ERR_PARSE_ATTR_BUF: HITLS_X509_ERRNO = 67305492;
pub const HITLS_X509_ERR_SET_ATTR_REPEAT: HITLS_X509_ERRNO = 67305493;
pub const HITLS_X509_ERR_SET_AFTER_PARSE: HITLS_X509_ERRNO = 67305494;
pub const HITLS_X509_ERR_SET_NAME_LIST: HITLS_X509_ERRNO = 67305495;
pub const HITLS_X509_ERR_SORT_NAME_NODE: HITLS_X509_ERRNO = 67305496;
pub const HITLS_X509_ERR_ATTR_NOT_FOUND: HITLS_X509_ERRNO = 67305497;
pub const HITLS_X509_ERR_SIGN_AFTER_PARSE: HITLS_X509_ERRNO = 67305498;
pub const HITLS_X509_ERR_FUNC_UNSUPPORT: HITLS_X509_ERRNO = 67305499;
pub const HITLS_X509_ERR_ALG_UNSUPPORT: HITLS_X509_ERRNO = 67305500;
pub const HITLS_X509_ERR_ATTR_UNSUPPORT: HITLS_X509_ERRNO = 67305501;
pub const HITLS_X509_ERR_EXT_NOT_FOUND: HITLS_X509_ERRNO = 67371009;
pub const HITLS_X509_ERR_EXT_UNSUPPORT: HITLS_X509_ERRNO = 67371010;
pub const HITLS_X509_ERR_EXT_PARSE_AFTER_SET: HITLS_X509_ERRNO = 67371011;
pub const HITLS_X509_ERR_EXT_SET_AFTER_PARSE: HITLS_X509_ERRNO = 67371012;
pub const HITLS_X509_ERR_EXT_SET: HITLS_X509_ERRNO = 67371013;
pub const HITLS_X509_ERR_EXT_KU: HITLS_X509_ERRNO = 67371014;
pub const HITLS_X509_ERR_EXT_OID: HITLS_X509_ERRNO = 67371015;
pub const HITLS_X509_ERR_EXT_KID: HITLS_X509_ERRNO = 67371016;
pub const HITLS_X509_ERR_EXT_SAN: HITLS_X509_ERRNO = 67371017;
pub const HITLS_X509_ERR_EXT_SAN_ELE: HITLS_X509_ERRNO = 67371018;
pub const HITLS_X509_ERR_EXT_EXTENDED_KU: HITLS_X509_ERRNO = 67371019;
pub const HITLS_X509_ERR_EXT_EXTENDED_KU_ELE: HITLS_X509_ERRNO = 67371020;
pub const HITLS_X509_ERR_EXT_GN_UNSUPPORT: HITLS_X509_ERRNO = 67371021;
pub const HITLS_X509_ERR_EXT_CRLNUMBER: HITLS_X509_ERRNO = 67371022;
pub const HITLS_X509_ERR_PARSE_EXT_KU: HITLS_X509_ERRNO = 67371023;
pub const HITLS_X509_ERR_PARSE_EXT_BUF: HITLS_X509_ERRNO = 67371024;
pub const HITLS_X509_ERR_PARSE_EXT_REPEAT: HITLS_X509_ERRNO = 67371025;
pub const HITLS_X509_ERR_PARSE_AKI: HITLS_X509_ERRNO = 67371026;
pub const HITLS_X509_ERR_PARSE_SAN: HITLS_X509_ERRNO = 67371027;
pub const HITLS_X509_ERR_PARSE_SAN_ITEM_UNKNOW: HITLS_X509_ERRNO = 67371028;
pub const HITLS_X509_ERR_PARSE_EXKU: HITLS_X509_ERRNO = 67371029;
pub const HITLS_X509_ERR_PARSE_EXKU_ITEM: HITLS_X509_ERRNO = 67371030;
pub const HITLS_X509_ERR_EXT_ILLEGAL_AKI: HITLS_X509_ERRNO = 67371031;
pub const HITLS_X509_ERR_EXT_NO_BCONS: HITLS_X509_ERRNO = 67371032;
pub const HITLS_X509_ERR_EXT_UNKNOWN_ERROR: HITLS_X509_ERRNO = 67371033;
pub const HITLS_X509_ERR_SAN_NOT_FOUND: HITLS_X509_ERRNO = 67371034;
pub const HITLS_X509_ERR_CSR_INVALID_PUBKEY: HITLS_X509_ERRNO = 67436545;
pub const HITLS_X509_ERR_CSR_INVALID_SUBJECT_DN: HITLS_X509_ERRNO = 67436546;
pub const HITLS_X509_ERR_CSR_NOT_SIGNED: HITLS_X509_ERRNO = 67436547;
pub const HITLS_CMS_ERR_NULL_POINTER: HITLS_X509_ERRNO = 67502081;
pub const HITLS_CMS_ERR_INVALID_DATA: HITLS_X509_ERRNO = 67502082;
pub const HITLS_CMS_ERR_INVALID_ALGO: HITLS_X509_ERRNO = 67502083;
pub const HITLS_CMS_ERR_PARSE_TYPE: HITLS_X509_ERRNO = 67502084;
pub const HITLS_PKCS12_ERR_NULL_POINTER: HITLS_X509_ERRNO = 67567617;
pub const HITLS_PKCS12_ERR_INVALID_PARAM: HITLS_X509_ERRNO = 67567618;
pub const HITLS_PKCS12_ERR_INVALID_PFX: HITLS_X509_ERRNO = 67567619;
pub const HITLS_PKCS12_ERR_INVALID_ALGO: HITLS_X509_ERRNO = 67567620;
pub const HITLS_PKCS12_ERR_PARSE_TYPE: HITLS_X509_ERRNO = 67567621;
pub const HITLS_PKCS12_ERR_VERIFY_FAIL: HITLS_X509_ERRNO = 67567622;
pub const HITLS_PKCS12_ERR_INVALID_CONTENTINFO: HITLS_X509_ERRNO = 67567623;
pub const HITLS_PKCS12_ERR_INVALID_SAFEBAG_TYPE: HITLS_X509_ERRNO = 67567624;
pub const HITLS_PKCS12_ERR_INVALID_SAFEBAG_ATTRIBUTES: HITLS_X509_ERRNO = 67567625;
pub const HITLS_PKCS12_ERR_INVALID_CERTYPES: HITLS_X509_ERRNO = 67567626;
pub const HITLS_PKCS12_ERR_INVALID_PASSWORD: HITLS_X509_ERRNO = 67567627;
pub const HITLS_PKCS12_ERR_INVALID_SALTLEN: HITLS_X509_ERRNO = 67567628;
pub const HITLS_PKCS12_ERR_INVALID_ITERATION: HITLS_X509_ERRNO = 67567629;
pub const HITLS_PKCS12_ERR_NO_ENTITYKEY: HITLS_X509_ERRNO = 67567630;
pub const HITLS_PKCS12_ERR_NO_ENTITYCERT: HITLS_X509_ERRNO = 67567631;
pub const HITLS_PKCS12_ERR_FORMAT_UNSUPPORT: HITLS_X509_ERRNO = 67567632;
pub const HITLS_PKCS12_ERR_NONE_DATA: HITLS_X509_ERRNO = 67567633;
pub const HITLS_PKCS12_ERR_NO_PAIRED_CERT_AND_KEY: HITLS_X509_ERRNO = 67567634;
pub const HITLS_PKCS12_ERR_KDF_TOO_LONG_INPUT: HITLS_X509_ERRNO = 67567635;
pub const HITLS_PKCS12_ERR_REPEATED_SET_ENTITYCERT: HITLS_X509_ERRNO = 67567636;
pub const HITLS_PKCS12_ERR_REPEATED_SET_KEY: HITLS_X509_ERRNO = 67567637;
pub const HITLS_PKCS12_ERR_NO_ENCRYPT_PARAM: HITLS_X509_ERRNO = 67567638;
pub const HITLS_PKCS12_ERR_NO_MAC_PARAM: HITLS_X509_ERRNO = 67567639;
pub const HITLS_PKCS12_ERR_NO_SAFEBAG_ATTRIBUTES: HITLS_X509_ERRNO = 67567640;
pub const HITLS_PKCS12_ERR_BAG_NO_KEY: HITLS_X509_ERRNO = 67567641;
pub const HITLS_PKCS12_ERR_BAG_NO_CERT: HITLS_X509_ERRNO = 67567642;
pub const HITLS_PKCS12_ERR_BAG_NO_SECRET: HITLS_X509_ERRNO = 67567643;
pub const HITLS_PKCS12_ERR_BUFFLEN_NOT_ENOUGH: HITLS_X509_ERRNO = 67567644;
pub const HITLS_PRINT_ERR_SIGN_ALG: HITLS_X509_ERRNO = 67633153;
pub const HITLS_PRINT_ERR_PUBKEY: HITLS_X509_ERRNO = 67633154;
pub const HITLS_PRINT_ERR_CERT_TBS: HITLS_X509_ERRNO = 67633155;
pub const HITLS_PRINT_ERR_CERT: HITLS_X509_ERRNO = 67633156;
pub const HITLS_PRINT_ERR_DNNAME: HITLS_X509_ERRNO = 67633157;
pub const HITLS_PRINT_ERR_DNNAME_VALUE: HITLS_X509_ERRNO = 67633158;
pub const HITLS_PRINT_ERR_DNNAME_HASH: HITLS_X509_ERRNO = 67633159;
pub const HITLS_PRINT_ERR_EXT_NAME: HITLS_X509_ERRNO = 67633160;
pub const HITLS_PRINT_ERR_EXT: HITLS_X509_ERRNO = 67633161;
pub const HITLS_PRINT_ERR_EXT_KU: HITLS_X509_ERRNO = 67633162;
pub const HITLS_PRINT_ERR_EXT_EXTKU: HITLS_X509_ERRNO = 67633163;
pub const HITLS_PRINT_ERR_EXT_SKI: HITLS_X509_ERRNO = 67633164;
pub const HITLS_PRINT_ERR_EXT_AKI_KID: HITLS_X509_ERRNO = 67633165;
pub const HITLS_PRINT_ERR_EXT_AKI_ISSUER: HITLS_X509_ERRNO = 67633166;
pub const HITLS_PRINT_ERR_EXT_AKI_SERIAL: HITLS_X509_ERRNO = 67633167;
pub const HITLS_PRINT_ERR_GNNAME: HITLS_X509_ERRNO = 67633168;
pub const HITLS_PRINT_ERR_GNNAME_UNKNOWN: HITLS_X509_ERRNO = 67633169;
pub const HITLS_PRINT_ERR_CSR_INFO: HITLS_X509_ERRNO = 67633170;
pub const HITLS_PRINT_ERR_CSR: HITLS_X509_ERRNO = 67633171;
pub const HITLS_PRINT_ERR_SIGN_ALG_UNSUPPORT: HITLS_X509_ERRNO = 67633172;
pub const HITLS_PRINT_ERR_CRL: HITLS_X509_ERRNO = 67633173;
pub const HITLS_PRINT_ERR_CRL_TBS: HITLS_X509_ERRNO = 67633174;
pub type HITLS_X509_ERRNO = ::std::os::raw::c_uint;
